<%@ page import="vendingmachine.PaymentTransaction" %>



<div class="fieldcontain ${hasErrors(bean: paymentTransactionInstance, field: 'cardId', 'error')} ">
	<label for="cardId">
		<g:message code="paymentTransaction.cardId.label" default="Card Id" />
		
	</label>
	<g:textField name="cardId" value="${paymentTransactionInstance?.cardId}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: paymentTransactionInstance, field: 'itemName', 'error')} ">
	<label for="itemName">
		<g:message code="paymentTransaction.itemName.label" default="Item Name" />
		
	</label>
	<g:textField name="itemName" value="${paymentTransactionInstance?.itemName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: paymentTransactionInstance, field: 'tradeTime', 'error')} required">
	<label for="tradeTime">
		<g:message code="paymentTransaction.tradeTime.label" default="Trade Time" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="tradeTime" required="" value="${fieldValue(bean: paymentTransactionInstance, field: 'tradeTime')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: paymentTransactionInstance, field: 'vender', 'error')} ">
	<label for="vender">
		<g:message code="paymentTransaction.vender.label" default="Vender" />
		
	</label>
	<g:textField name="vender" value="${paymentTransactionInstance?.vender}"/>
</div>

